package com.yyw.bean;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "分享文Share")
public class Share {

    @ApiModelProperty("分享文ID")
    private Long id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("难度等级")
    private Integer level;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("用户ID")
    private Long userid;

    @ApiModelProperty("赞同数")
    private Integer agreenum;

    @ApiModelProperty("创建时间")
    private Date createtime;

    // ==================================

    @ApiModelProperty("读后感数量")
    private Integer criticismnum;

    @ApiModelProperty("创建时间")
    private Boolean isCollect = false;

}
